Summary

Inserts a image with a link. this component is intended to be used in EPT presentation templates only.

Component properties
Category AS EPT
Version 1.1
Complies with Xhtml 1.0 / 1.1 rules Unspecified or not applicable
Supported server programming languages C# Visual Basic.NET
Output content type inline

When to use

This component is typically used for inserting a link to an image based on data in EPT fields. 

Programming interface

Parameters

StaticImage
A static value that specifes the image to insert.
Image
Name of the EPT field that contains information for the image you want to insert. This parameter is ignored if StaticImage is specified.
Link properties
StaticURL
A static URL to use in the HREF attribute in the link that is generated. Can either be a document id or an URL. Examples: 1234 or http://www.contentstudio.se.
URL
Name of the EPT field that contains the destination URL which will be used for the HREF attribute in the link that is generated. This parameter is ignored if StaticURL is specified.
PTID
Optional, an identifier for the presentation template to use when a Document id specified in the StaticURL parameter.
Image properties
StaticAlt
A text that acts as source for the ALT attribute of the linked image. This parameter is ignored if StaticAlt is specified.
Alt
Name of the EPT field whose value contains the source of the ALT attribute for the linked image. This parameter is ignored if StaticAlt is specified.
StaticTarget
Optional, name of the link target. Targets is not supported in Xhtml Strict. If Xhtml Strict is used, an onclick event will be inserted instead.
Target
Name of the EPT field whose value contains the source of the TARGET attribute for the linked image. This parameter is ignored if StaticTarget is specified.
StaticText
Optional, text
Text
Name of the EPT field whose value contains the source of the text. This parameter is ignored if StaticText is specified.
Width
Specifies the width of the linked image.
Height
Specifies the height of the linked image.
VSpace
Specifies the VSpace attribute if the linked image. Note that VSpace is not supported in Xhtml Strict.
HSpace
Specifies the HSpace attribute if the linked image. Note that HSpace is not supported in Xhtml Strict
Border
Specifies the border attribute if the linked iImage. Note that Border is not supported in Xhtml Strict.
Align
Specifies the align attribute if the linked image. Note that Align is not supported in Xhtml Strict
Additional settings
AlwaysShowImage
Always show the image. Shows an image placeholder even if no URL is specified (using URL or StaticURL)
PreContent
PreContent
AftContent
AftContent

Remarks